package x.java.tea;


/**
 * Re-injects the id back
 * 
 * @author qiangli
 *
 */
public class IdInjector extends ObjectInjector {
	@Override
	public Object getObject() {
		String marker;
		if (id != null) {
			marker = "${"+id+"}";
		} else {
			marker = "${}";
		}
		return marker.getBytes();
	}
}
